class AddTestHouses < ActiveRecord::Migration
  def self.up
    House.create(:name => 'Alpha Beta', :abbrev => 'AB', :address=> '77 Massachusetts Av, Cambridge MA 02139', :phone => '555-1234')
    House.create(:name => 'Gamma Delta', :abbrev => 'GD', :address=> '32 Vassar St, Cambridge MA 02139', :phone => '555-5678')
    House.create(:name => 'Epsilon Zeta', :abbrev => 'EZ', :address=> '84 Massachusetts Av, Cambridge MA 02139', :phone => '555-5555')
  end

  def self.down
    House.delete_all
  end
end
